package com.chkj.fbook.system.dao;

import com.chkj.fbook.system.domain.DeptDO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * 部门管理
 * @author hsh
 * @email 980027164@qq.com
 * @date 2023-10-2 15:35:39
 */
@Mapper
public interface DeptDao {

	DeptDO get(String deptId);
	
	List<DeptDO> list(Map<String, Object> map);

	int count(Map<String, Object> map);
	
	int save(DeptDO dept);
	
	int update(DeptDO dept);
	
	int remove(String deptId);
	
	int batchRemove(String[] deptIds);
	
	String[] listParentDept();
	
	int getDeptUserNumber(String deptId);
}
